home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / exec / devices.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  399 b   |  21 lines

  1. #ifndef    EXEC_DEVICES_H
  2. #define    EXEC_DEVICES_H
  3. #ifndef    EXEC_LIBRARIES_H
  4. #include    "exec/libraries.h"
  5. #endif    !EXEC_LIBRARIES_H
  6. #ifndef    EXEC_PORTS_H
  7. #include    "exec/ports.h"
  8. #endif    !EXEC_PORTS_H
  9. struct    Device    {
  10. struct    Library    dd_Library;
  11. };
  12. struct    Unit    {
  13. struct    MsgPort    unit_MsgPort;
  14. UBYTE    unit_flags;
  15. UBYTE    unit_pad;
  16. UWORD    unit_OpenCnt;
  17. };
  18. #define    UNITF_ACTIVE    (1<<0)
  19. #define    UNITF_INTASK    (1<<1)
  20. #endif
  21.